package com.s53.crm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@RestController

@EnableFeignClients
@SpringBootApplication
public class ClueClientApp {
//    @Autowired
//    private RestTemplate restTemplate;

    public static void main(String[] args) {
        SpringApplication.run(ClueClientApp.class, args);
    }

//    @GetMapping
//    public Object listClue() {
//        Map result = restTemplate.getForObject("http://clue-service/user?current=1&size=2", Map.class);
//        return result;
//    }
//
//    @Bean
//    @LoadBalanced
//    public RestTemplate restTemplate() {
//        return new RestTemplate();
//    }
}
